{template header}
<script type="text/javascript">
	function expand(id){
		if(id=='usermanage'){
			$("ul#usermanage").toggle(); 
		}else{
			$('ul#userpms').toggle();
		}
	}
</script>
<div class="hd_map">
	<a href="{$setting['site_url']}">{$setting['site_name']}</a> &gt; <a href="{url user-profile}">{lang selfManage}</a> &gt; {lang socialconnect}
</div>
	
<div class="r w-710 o-v m-t10 p-b10 gl_manage_main">
	<!--{if $sina_connect_on == '1'}-->
	<h2 class="h3 bold">{lang sinaWeibo}</h2>
		<!--{if $is_sina_binded}-->
		<form>
		<table class="table">
		<tbody>
			<tr>
			<td><span></span></td>
			<td>
				<ul>
				<li><input type="radio" checked="" value="0" name="sina_setting" id="sina_nosend"><label for="sina_nosend">不发送</label></li>
				<li><input type="radio" value="1" name="sina_setting" id="sina_sendoncreate"><label for="sina_sendoncreate">创建词条后，发送到新浪微博</label></li>
				<li><input type="radio" value="2" name="sina_setting" id="sina_sendoncreateedit"><label for="sina_sendoncreateedit">创建与编辑词条后，发送到新浪微博</label></li>
				</ul>
			</td>
			</tr>
		</tbody>
		</table>
		</form>
		<a href="index.php?plugin-socialconnect-sina-unbind">{lang unbind}</a>
		<!--{else}-->
		<a href="index.php?plugin-socialconnect-sina-oauth-bind"><img src="plugins/socialconnect/style/sina_login.gif" /></a>
		<!--{/if}-->
	<!--{/if}-->
	<!--{if $qq_connect_on == '1'}-->
	<h2 class="h3 bold">{lang qqWeibo}</h2>
		<!--{if $is_qq_binded}-->
		<form>
		<table class="table">
		<tbody>
			<tr>
			<td><span></span></td>
			<td>
				<ul>
				<li><input type="radio" checked="" value="0" name="qq_setting" id="qq_nosend"><label for="qq_nosend">不发送</label></li>
				<li><input type="radio" value="1" name="qq_setting" id="qq_sendoncreate"><label for="qq_sendoncreate">创建词条后，发送到 QQ 微博</label></li>
				<li><input type="radio" value="2" name="qq_setting" id="qq_sendoncreateedit"><label for="qq_sendoncreateedit">创建与编辑词条后，发送到 QQ 微博</label></li>
				</ul>
			</td>
			</tr>
		</tbody>
		</table>
		</form>
		<a href="index.php?plugin-socialconnect-qq-unbind">{lang unbind}</a>
		<!--{else}-->
		<a href="index.php?plugin-socialconnect-qq-oauth-bind"><img src="plugins/socialconnect/style/qq_login.png" /></a>
		<!--{/if}-->
	<!--{/if}-->
</div>
<div class="l w-230">
<div class="m-t10 p-b10 sidebar gl_manage">
	<h2 class="col-h2"><span onclick="expand('usermanage');">{lang profile}</span></h2>	
	<ul id="usermanage">
		<li><a href="{url user-profile}" target="_self"><img alt="" src="style/default/gl_manage/grzl.gif" />{lang profile}</a></li>
		<li><a href="{url user-editprofile}" target="_self" ><img src="style/default/gl_manage/grzl_set.gif"/>{lang editProfile}</a></li>
		<li><a href="{url user-editpass}" target="_self"><img src="style/default/gl_manage/change_pw.gif"/>{lang editPass}</a></li>
		<li><a href="{url user-editimage}" target="_self"><img src="style/default/gl_manage/grzl_set.gif" />{lang editImage}</a></li>
		<li><a href="{url doc-managesave}" target="_self"><img src="style/default/gl_manage/ctbccgx.gif"/>{lang manageSave}</a></li>
		<li><a href="{url user-invite}" target="_self"><img src="style/default/gl_manage/invite.png"/>{lang regInvite}</a></li>
		<li><a href="{url plugin-socialconnect}" target="_self" class="on"><img src="plugins/socialconnect/style/socialconnect.jpg" />{lang socialconnect}</a></li>
	</ul>
	<h2 class="col-h2"><span onclick="expand('userpms');">{lang shortmessage}</span></h2>		
	<ul id="userpms">
		<li><a href="{url pms-box-inbox}" target="_self"><img alt="" src="style/default/gl_manage/sjx.gif" />{lang inbox}</a></li>
		<li><a href="{url pms-box-outbox}" target="_self" ><img src="style/default/gl_manage/fjx.gif"/>{lang outbox}</a></li>
		<li><a href="{url pms-sendmessage}" target="_self" ><img src="style/default/gl_manage/fdxx.gif"/>{lang sendmessage}</a></li>
		<li><a href="{url pms-box-drafts}" target="_self"><img src="style/default/gl_manage/cgx.gif" />{lang draft}</a></li>
		<li><a href="{url pms-blacklist}" target="_self"><img src="style/default/gl_manage/hllb.gif"/>{lang blacklist}</a></li>
	</ul>
</div>
<div id="block_left">{block:left/}</div>
</div>
<div class="c-b"></div>
{template footer}
